Let be a Hausdorff space and let be a retract of . We will show that is open. Since is a retract of there exists a continuous map such that for all . Notice that but since .
Since is Hausdorff there exists disjoint open sets and such that . It follows that is an open set containing .
Now, it suffices to show that and are disjoint. Let . It follows that since , and for disjoint sets and , . Hence, and is an open neighborhood of lying completely in .
Since was chosen arbitrarily, every point in has an open neighborhood lying completely in . Thus, is open and is closen.
Q.E.D.
Let and be Hausforff topological spaces and define the product topology . By the definition of product topology, a point in is of the form where and . This means that we can pick two distinct points and in where or (or both).
Since is Hausdorff there exists open disjoint sets such that and . Likewise, since is Hausdorff there exists open disjoint sets such that and .
Without loss of generality, assume . Then are two open disjoint sets such that and . It follows that and are open disjoint sets in such that and . Thus, is Hausdorff.
Q.E.D.